﻿using JESAI.DDD.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Platform.Domain.Workflow.Entities
{
    /// <summary>
    /// 定义表单实体类
    /// </summary>
    [SugarTable("mlt_workflow_defform")]
    public class DefFormEntity : IEntity<string>
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
        public string Id { get; set; }

        /// <summary>
        /// 流程部署ID
        /// </summary>
        public string WorkflowaProcDefId { get; set; }

        /// <summary>
        /// 表单路径
        /// </summary>
        public string FormPath { get; set; }

        /// <summary>
        /// 表单编码
        /// </summary>
        public string FormCode { get; set; }

        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; }

        /// <summary>
        /// 创建者ID
        /// </summary>
        public long Cid { get; set; }

        /// <summary>
        /// 更新者ID
        /// </summary>
        public long Uid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsValid { get; set; }
    }
}
